home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 207 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1018 b   |  38 lines

  1. Newsgroups: comp.lang.c
  2. Path: news.sprintlink.net!eskimo!news
  3. From: mag@eskimo.com (mAg)
  4. Subject: Re: qsort help
  5. X-Nntp-Posting-Host: tia1.eskimo.com
  6. Message-ID: <DKLDuJ.9Er@eskimo.com>
  7. Keywords: qsort
  8. Sender: news@eskimo.com (News User Id)
  9. Organization: *.*
  10. X-Newsreader: WinVN 0.93.10
  11. References: <4ccio7$7c0@charm.magnus.acs.ohio-state.edu>
  12. Date: Wed, 3 Jan 1996 06:25:30 GMT
  13.  
  14. In article <4ccio7$7c0@charm.magnus.acs.ohio-state.edu> (3 Jan 1996 00:31:03 GMT), 
  15. xiaoyi@bmecg.bme.ohio-state.edu says :
  16. >
  17. >Hi, I am having some problems with the qsort routine.
  18. >
  19. >
  20. change 
  21.  
  22. >int (*compar)(int *a, int *b)
  23.  
  24. to
  25.  
  26. int compar(int *a, int *b)
  27.  
  28.  
  29. -- 
  30. /* --------------------------------------------------------
  31.                       MAG@ESKIMO.COM
  32. http://www.eskimo.com/~mag/index.html
  33. ***********************************************************
  34. To understand recursion one must first understand recursion
  35. ***********************************************************
  36. -------------------------------------------------------- */
  37.  
  38.